<?php include('includes/header.php');?>
<?php include(inc('repository.php'));?>
<?php
	$words = Word::query_with_definition();
?>
<div id="main">
	<span class="panel_title"><?php _("词库"); ?></span>
	<div id="word_list" class="content">
		<?php foreach($words as $word):?>
			<div class="word_list_item">
				<?php word_stylish_link($word['word']) ?>
				<span class="definition"><?php e($word['definition'])?></span>
			</div>
		<?php endforeach?>
	</div>
</div>
<?php get_footer();?>